package io.coderyeah.org.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.coderyeah.basic.Result;
import io.coderyeah.org.dto.DeptDTO;
import io.coderyeah.org.domain.Department;

public interface DepartmentService extends IService<Department> {
    //查询部门
    Result list(DeptDTO deptDTO);

    //保存和修改部门
    Result saveOrUpdate(DeptDTO deptDTO);

    Result editType(DeptDTO deptDTO);

    Result getDepartmentTrees();
}
